'use strict';

module.exports = () => {
  return async function(ctx, next) {
    await next();
    ctx.set('X-Server-Time', Date.now());
  };
};
